/**
 * Project Name:youba
 * Package Name:com.inoneone.youba.mcht.util
 * Date:2017/6/20上午5:18
 * Copyright (c) 2017, www.zbj.com All Rights Reserved
 */
package com.inoneone.youba.mcht.util;

import com.inoneone.youba.mcht.dao.po.Merchant;
import com.inoneone.youba.mcht.enums.Constants;

import javax.servlet.http.HttpSession;

/**
 * Description: (描述) </br>
 * Date: 2017/6/20上午5:18 </br>
 *
 * @author 姬远玄
 * @since JDK 1.7
 */
public class SessionUtil {
    public static Merchant getSession(HttpSession httpSession)
    {
        return (Merchant) httpSession.getAttribute(Constants.SESSION_KEY);
    }
}
